package cn.wolfcode.domain;

import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.HashMap;

/*
* 字典目录
* */
@Setter
@Getter
@ToString
public class SystemDictionary {
    private Long id;

    private String sn;

    private String title;

    private String intro;

    public String getJson(){
        HashMap map = new HashMap() ;
        map.put("id",id );
        map.put("sn",sn );
        map.put("title",title );
        map.put("intro",intro );
        return JSON.toJSONString(map);
    }
}